package com.tisumoon;

import android.os.Bundle;
import android.widget.AbsListView;

import com.tisumoon.utils.CostomSysUtils;
import com.umeng.analytics.MobclickAgent;
import com.umeng.message.PushAgent;
import com.wei.c.adapter.AbsAdapter;
import com.wei.c.framework.AbsListViewActivity;

public abstract class AbsBaseListViewActivity<V extends AbsListView, D, A extends AbsAdapter<D>> extends AbsListViewActivity<V, D, A> {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		boolean b = CostomSysUtils.miuiV6Immerse(this, false);
		super.onCreate(savedInstanceState);
		if (b) CostomSysUtils.visibleStatusBarHeight(this);
		PushAgent.getInstance(this).onAppStart();
	}

	@Override
	protected void onResume() {
		super.onResume();
		MobclickAgent.onResume(this);
	}

	@Override
	protected void onPause() {
		MobclickAgent.onPause(this);
		super.onPause();
	}
}
